#ifndef _KEYBOARDEVENT_H_
#define _KEYBOARDEVENT_H_

#include <SECore/Event.h>

namespace SEngine
{
    class KeyPressEvent : public Event<KeyPressEvent>
    {
    public:
        virtual ~KeyPressEvent() = default;

        void SetKey(int key) { m_key = key; }
        int GetKey() { return m_key; }

    private:
        int m_key;
    };

    class KeyReleaseEvent : public Event<KeyReleaseEvent>
    {
    public:
        virtual ~KeyReleaseEvent() = default;

        void SetKey(int key) { m_key = key; }
        int GetKey() { return m_key; }
        
    private:
        int m_key;
    };
} // namespace SEngine


#endif